package dao;

import java.util.List;

import entity.Emp;

public interface EmpDao {

	boolean insert(Emp emp);

	boolean update(Emp emp);

	boolean delete(int empno);

	List<Emp> selectAll();

	List<Emp> selectByPage(int page);

	List<Emp> selectByName(String ename);

	Emp selectById(int empno);

}
